-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: solve foss source sets and dependencies statically #3082
chore: solve foss source sets and dependencies statically #3082
Conversation
There's still a bit of code duplication, as many things are copied/pasted between internal, staging, beta and dev. Having So it would look something like this: flowchart TD
playstore --> nonfree
playstore --> public
fdroid --> public
fdroid --> foss
internal --> private
internal --> nonfree
beta --> private
beta --> nonfree
dev --> private
dev --> nonfree
staging --> private
staging --> nonfree
Each flavor's specific sourceset is omitted and as they are only used by their correspondent flavor. |
Quality Gate passedIssues Measures |
Test Results928 tests 928 ✅ 8m 50s ⏱️ Results for commit abcff48. |
APKs built during tests are available here. Scroll down to Artifacts! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
Build 5208 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
The PR Description
What's new in this PR?
Issues
When developing F-Droid flavor, the IDE doesn't provide autocompletion and pretty much any other support.
Causes
We're relying on explicit environment variables or invoked task name to figure out whether we should configure F-Droid or not.
The IDE doesn't se these when communicating with Gradle.
Solutions
Just set everything so it works statically, without depending on env variables or tasks being run.
F-Droid flavor is always dependent on
prod
andfoss
source sets.Each other non-free flavor is always dependent on
nonfree
.So it looks like this:
Logs during Gradle configuration:
Attachments
When selecting
prodDebug
build type in the IDE:When selecting
fdroidDebug
build type in the IDE:PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.